package com.my.service;

import com.my.bean.*;
import com.baomidou.mybatisplus.service.IService;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 产康项目关联映射表 服务类
 * </p>
 *
 * @author 张子艺
 * @since 2018-08-29
 */
public interface RelationProjectService extends IService<RelationProject> {

    List<Map<String, Object>> findCount(Long areaid,boolean admin);
    String insertProjectRelation(RelationProject relationProject) throws SQLException;
    String insertRelationProject2(Long projectId) ;

    //   * 根据姓名查询有那些项目 （外部）
    ResultPage<RelationProject> findProjectByUserName(String userName  , VoPage voPage,Long areaid,boolean admin);
}
